{{define "cha02/arr_struct.html"}}
    <!DOCTYPE html>
    <html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>Title</title>
    </head>
    <body>
    {{/*第一种*/}}
    {{range .}}
        {{.Id}}
        {{.Name}}
        {{.Age}}
        {{.Addr}}
        <br>
    {{end}}
    <br>
    {{/*第二种*/}}
    {{range $data := .}}
        {{$data.Id}}
        {{$data.Name}}
        {{$data.Age}}
        {{$data.Addr}}
        <br>
    {{end}}
    </body>
    </html>
{{end}}